package com.groupbaby.ydd.utils;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @Author: hlc
 * @CreateTime: 2022-10-10  20:56
 * @Description: 用于封装返回的分页数据
 */
@Data
public class PageBean<T> implements Serializable {
    private static final long serialVersionUID = 632228798L;

    private long count; //总记录数(总条数)
    private long totalPages; //总页数
    private long pageSize; //每页显示条数
    private long currentPage; //当前页
    private List<T> data; //封装的具体数据集合
}
